# Create your views here.
from django.contrib.auth.models import User,Group
from rest_framework import viewsets
from quickstart.serializers import UserSerializer,GroupSerializer

class UserViewSet(viewsets.ModelViewSet):
    queryset = User.objects.all()
    serializer_class = UserSerializer
class GroupViewSet(viewsets.ModelViewSet):
    querset=Group.objects.all()
    serializer_class=GroupSerializer
